import React from "react";
import { NavBar } from "antd-mobile";
import { useNavigate } from "react-router-dom";
import CommonData from "../../components/commonData/index";
import kefu from "../../assets/kefu.png";
import styles from "./index.module.css";
const Index: React.FC = () => {
  const navigate = useNavigate();
  return (
    <div>
      <div className={styles.nav}>
        <NavBar style={{ background: "#fff" }} onBack={() => navigate('/shop')}>
          植发
        </NavBar>
      </div>

      <div>
        <CommonData />
      </div>
      {/* 客服 */}
      <div className={styles.kefu} onClick={() => navigate("/customerService")}>
        <img src={kefu} alt="" />
      </div>
    </div>
  );
};

export default Index;
